package com.mt.api.modules.manager;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.api.modules.domain.AppCustomerBill;
import com.mt.api.modules.domain.bo.CustomerBillPageBo;
import com.mt.api.modules.domain.dto.CustomerBillStatDto;

import java.util.List;

/**
 * @Author: plover
 * @Date: 2022/04/28 15:44
 * @Description:
 */
public interface ICustomerBillManager extends IService<AppCustomerBill> {

    Page<AppCustomerBill> getCustomerBillPage(CustomerBillPageBo bo);

    List<CustomerBillStatDto> getCustomerBillStat(Integer customerId);

    List<AppCustomerBill> getListByBrandId();

    AppCustomerBill getByBusinessIdAndType(Integer businessId, Integer type);

}
